﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<FrasesSimpsonsMvc.Models.Temporadas>>" %>

<asp:Content ID="Head" ContentPlaceHolderID="HeadContent" runat="server">
	<% Html.RenderPartial("BasicHeadUserControl"); %>
</asp:Content>

<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">Temporadas</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">
	<% Html.RenderPartial("SearchCleanUserControl"); %>

	<div class="row-responsive">
		<ul class="breadcrumb">
			<li>
				<a href="<%= Url.Action("Index", "Home") %>">Home</a> <span class="divider">/</span>
			</li>
			<li class="active">Temporadas</li>
		</ul>
	</div>

	<div class="row-responsive">
		<h2>Temporadas</h2>

		<ul class="unstyled">
		<% foreach (var temporada in Model)
		   { %>          
			<li>
				<span class="label label-success tall"><a class="label-link" href="<%= Url.Action("Detail", "Temporada", new { Id = temporada.Id })%>">Temporada <%= temporada.Numero %></a></span><span class="stars"><%= temporada.Puntaje %></span>
				<p><%= temporada.Descripcion %></p>
			</li>
		<% } %>
		</ul>

	</div>
	
</asp:Content>
